import packageAxios from '../request';
const axios = packageAxios.instance;
const apiVersion = '/api/v1/education/';

const education = {
    updateEduInfo (data) {
        return axios.put(apiVersion, data);
    },
    getEduInfo (params) {
        return axios.get(apiVersion, { params });
    },
    getCollgeInfo (params) {
        return axios.get(apiVersion + 'collgeInfo', { params });
    }
};

export default education;
